<script setup>
import { ref } from "vue";
import ServerEditor from "./editor/ServerEditor.vue";

const editor = ref();
</script>

<template>
  <server-editor ref="editor"></server-editor>
  <page-header-wrapper>
    <template #pageHeader>
      <a-page-header title="服务器列表" sub-title="添加服务器" />
    </template>
    <a-card title="快捷操作">
      <a-button type="primary" @click="editor.init()">点击添加</a-button>
    </a-card>
  </page-header-wrapper>
</template>
